import request from '@/utils/request'
const URL="/TNotice"
export default {

    list(type) {
        return request({
            url: `${URL}/list/${type}`,
            method: "get",
        })
    },

    udpateStr(data){
        return request({
            url: `${URL}/update`,
            method: "post",
            data
        })  
    },
    udpatebatchWord(data){
        return request({
            url: `${URL}/batchWord`,
            method: "post",
            data
        })  
    }
}